import { request } from 'umi';

/**  地域  POST */
export async function pageSource(options?: any) {
  return request<BaseResponseBean.responsePage<TophubSourceData.SourcePage[]>>(
    '/tophub/source/page',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/**  地域  POST */
export async function updateSource(options?: any) {
  return request<BaseResponseBean.responsePage<string>>('/tophub/source/update', {
    method: 'POST',
    data: options || {},
  });
}


